{include file="public/header" /}
<body class="gray-bg" style="background:#fff;">

    <div class="wrapper wrapper-content animated fadeInUp">
        <div class="row">
            <div class="col-sm-12">

                <div class="ibox">
                    <div class="ibox-title">
                        <h5>所有需求(bug)</h5>
                        <div class="ibox-tools">
                            <a href="/official/apply/index.html" class="btn btn-primary btn-xs">提交需求(BGU)</a>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <div class="project-list">

                            <table class="table table-hover">
                                <tbody>
                                   <tr>
                                    
                                        <td class="project-title">
                                            标题
                                        </td>
                                        <td>类型</td>
                                        <td class="project-completion">
                                               进度
                                        </td>
                                        <td>备注</td>
                                      
                                       
                                    </tr>
                                    <?php foreach ($apply as $k => $v): ?>
                                        
                                  
                                    <tr>
                                        <td class="project-title">
                                            <a href="javascript:;">{$v.title}<span class="label label-primary" style="margin-left:20px;">{$v.zhStep}</span></a>
                                            <br/>
                                            <small>创建于 {:date('Y-m-d H:i:s',$v['time'])}</small>
                                        </td>
                                         <td>
                                           <a class="btn btn-sm btn-default"> <?php if($v['type']=="2"){echo "需求";}else{echo "BUG";} ?></a>
                                        </td>

                                        <td class="project-completion">
                                                <small>当前进度： {$v.progress}%</small>
                                                <div class="progress progress-mini">
                                                    <div style="width: {$v.progress}%;" class="progress-bar"></div>
                                                </div>
                                        </td>
                                        <td>{$v.remark}</td>
                                       
                                        
                                    </tr>
                                     <?php endforeach ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
  {include file="public/footer" /}